LightWayText is the powerful Text Editor. Writing, editing, printing, saving, can keep the text document with the style which contains a Kanji letters.
A font, size, style, character color can be set up in every one character by the text document with the style. Furthermore, editing by the page layout with columns, it show the paper image, and it can insert the picture image. LightWayText is available with all Macintosh widely from programming to the writing of English document.
1.1. LightWayText Features
The big text document of 32KB and more (So far as a memory permits it.) can be edited.
More then one style, character color can be set up in the text document.
A PICT image can insert as a picture character.
It copes with TSM (Text Services Manager) inline input.
It copes with drag & drops.
It copes with AppleScript scripting.
Undo, Redo is being supported about the all editing operation.
Ruler, Line # can be indicated in the document window.
Indication, editing by the paper image can be done.
The page layout with columns can be set up.
The view size can be larger or smaller.
Key operation can be customize.
Recent Files and Folders is shown File menu and it can open quickly.
Browser tool is preview a contents of text document and it can open quickly.
File Search tool is find a more than one text document.
Clipboard can register for the plural at a name is given. (Scrap Catalog)
Key operation is recorded and a repetition can be carried out. (Key Macro)
It can make the program of the Macro. (Macro Editor)
Mac OS 8.5 New Open/Save Dialog is available.
1.2. LightWayText Environment
It can be used under Mac OS from System 7.1 to Mac OS 8.X.
When you use new Open/Save Dialog (Navigation services) under Mac OS 8.1.
Put Navigation in Extensions of System Folder or LightWayText Folder.
2. Document Window
2.1. Show Ruler
A Ruler bar is indicated at the top of the document window.
When a mouse clicks on mark, Ruler unit menu is indicated.
When a mouse clicks on mark, Line # Start menu is indicated.
When a mouse drag has mark, left margin, right margin, the number of
characters on one line is changed.
2.2. Show Line #
A Line # bar is indicated at the left of the document window.
mark is a Line # Start menu, it start line number about any line positions.
Start Line # Start line number from the edit-cursor exist line.
Clear Line # Restore line number form the edit-cursor exist line.
Clear All Line # Cancel all changed line number.
2.3. Show Info Area
information such as a line, column, page number is indicated on the bottom
left of the document window.
When a mouse clicks on mark, View Size menu is indicated.
mark is indicated when the contents of the document are changed.
mark is indicated when the document is read-only document.
The part of does the indication of the line, column
number of the present editing cursor position and the indication of a page
number to indicate a paper image and editing operation by mouse clicking.
"L: C:" part double click Show Go To Line Dialog
Option key + "L: C:" part click Cursor move to last of lines
Option + Shift key + "L: C:" part click Cursor move to first of lines
Command key + "L: C:" part click Show Go To Line Dialog
"P:" part click Move to next page
Shift key + "P:" part click Move to previous page
Option key + "P:" part click Move to last of pages
Option + Shift key + "P:" part click Move to first of pages
Command key + "P:" part click Show Go To Page Dialog
2.4. Split Window
When mouse drag down on split-bar of the right top of the document window.
The document window is divided two ways up and down.
2.5. Special Operation
When it clicks with the Command key on the top of the document name of
the document window title bar. Popup menu is indicated. That file position on
the disk and chooses a copy to the clipboard of the full path name and choose
a text type (Macintosh, Windows, Unix).
When it click with the Option key on close box of document window.
All document window are closed.
3. Menus and Dialogs
3.1. File Menu
New A document window is made newly.
Open... A text document is opened with Open Dialog.
Recent A Recent file name is shown recent menu.
Browser... Show Browser tool and preview a contents of document.
Close A document window is closed.
Save The contents of the document window is saved.
Save As... The contents of the document window is saved with
Save Dialog with another name.
Revert to Saved A document window is returned to the contents that it
was saved at the end.
Page Setup... Page setup Dialog of the printer is indicated.
Print... The contents of the document window are printed.
Quit Application is finished.
3.1.1. Browser Tool
Preview a contents of text document and it can open quickly.
Folder Menu A left menu is folder name which is a preview object.
Folder Name List A left list is the sub-folder names inside preview folder.
File Menu A right menu is the file type of indicating a file name list.
A file type chooses a text files or PICT files or all files.
File Name List A right list is the file names inside preview folder.
Preview When Preview is checked, a preview window appears in
the bottom part.
Info... The file information of the chosen file name is indicated.
Open The text document of the chosen file name is opened.
Preview Window A part of the contents of the chosen file name is showed.
The movement operation of Folder Name List.
Up/Down key Choose sub-folder name.
Command + Down key It is moved into chosen sub-folder.
Command + Up key It is moved to parents folder.
Click folder name It is moved into clicked sub-folder.
Tab key A key operation is moved in File Name List.
The movement operation of File Name List.
Up/Down key Choose file name.
Shift + Up/Down key A file name is chosen in the plural.
Command + Up/Down key Moved on the top, bottom line of File Name List.
Shift/Command + Click A file name is chosen in the plural.
Double click file name A text document is opened.
Tab key A key operation is moved in Folder Name List.
3.1.2. File Info Dialog
File information of the chosen file name from Browser tool.
File Name A file name is indicated and edit.
Type A file type is indicated and edit.
Creator Application name which made a file is indicated and edit.
Kind A kind of the file is indicated.
Size A size of the file is indicated.
Where A place of the file is indicated.
Created A created date of the file is indicated.
Modified A modification date of the file is indicated.
Attribute A attribute of the file is indicated and edit.
3.2. Edit Menu
Undo Cancellation, starting over again does the last editing
operation.
Redo Editing operation is done again.
Cut A selection range is removed and sent to the clipboard.
Copy A selection range is sent to the clipboard.
Paste A selection range is moved with contents of the clipboard.
Clear A selection range is removed.
Select All All the character of the document window are chosen.
Option Option menu is indicated.
Change J-Roman (Japanese script font only)
Japanese 2 byte roman, 1 byte roman letters is changed.
Change J-Kana (Japanese script font only)
Japanese hiragana, japanese katakana letters is changed.
Change Case A upper case, lower case of selection range is changed.
Capitalize First letter is a capital letter, Later is a small letter.
Shift Left Remove tab code of the line head and it shifts to the left.
Shift Right Insert tab code to the line head and it shifts to the right.
Duplicate Line The characters of the line is duplicated in the next line.
Reform Line A line feed code is added at the end of the line.
Join Line A line feed code is removed of the end of the line.
Option... Option Dialog is indicated.
Read-Only Document Setup in the read-only document, can't be edited.
TSM-Inline Setup in TSM (Text Services Manager) inline input.
Auto Indent Setup Auto indent of the next line.
Caret Underline Underline is indicated on the editing cursor (caret) line.
Smart Word Edit By cut, paste, delete, drag & drop operation to make the
adjustment of the space between the english words.
Key Macro Key Macro menu is indicated.
Key Macro is a record key operation and to carry out.
Record Key Macro Start record of the key and menu command operation.
Macintosh Text line feed code is made hex (0D) at the file saving.
Windows Text line feed code is made hex (0D,0A) at the file saving.
Unix Text line feed code is made hex (0A) at the file saving.
Document... Document Dialog is indicated.
Page Layout... Page Layout Dialog is indicated.
Header... Header Dialog is indicated.
Footer... Footer Dialog is indicated.
3.5.1. Document Dialog
Justify Left, center, right, both ends justified is set up in the
whole of the document.
Justified is adjust space between words for both ends.
J-Wrap (Japanese script font only) Japanese word wrap is set up.
Dangle is hangs line's end, Expel is sends next line's top.
Font The standard font name of the document is set up.
Size The standard font size of the document is set up.
Tabs The tab width of the document is specified by the number
of the characters. The character size of the tab width is
size of the standard font name and the standard font size.
Line The whole line internal of the document is specified by
the number of points.
Wordwrap The whole Word wrap of the document is set up.
Font Size is an effect on All
When it is checked, font and size of all characters of the
document are changed to the standard font name and the
standard font size. If it isn't checked, a font and size of
the document aren't changed.
Count The document information of the whole document is
indicated.
Under the condition that a character of the document is
chosen, the document information of the selection range
is indicated.
ATTENTION : When Document dialog is established, the personal history of
the multi-undo is cleared.
3.5.2. Page Layout Dialog
Page Layout is set up the page size, the margins, the column form of the
document window about the form size specified by Page Setup Dialog.
Margin Number of unit is Preferences Dialog's Units setting.
Top A top margin is set up for paper image.
Bottom A bottom margin is set up for paper image.
Left A left margin is set up for paper image.
Right A right margin is set up for paper image.
Column A column form for paper image
Number A number of column within the page is set up.
Space The interval of columns to have it more than it is put together
two column is set up.
Width The width within the column is indicated.
Page Information is indicated.
Width The Width within the page is indicated.
Height The Height within the page is indicated.
C / Line Line width is indicated by the number of characters of the
standard font name and standard font size.
L / Page Page height is indicated by the number of lines of the standard
font name and standard font size and line space points.
3.5.3. Header (Footer) Dialog
The string, style of Header (Footer) is setup.
Height Height to indicate in the up-down space of paper image
String The string of the a header is indicated is set up.
Stamp A stamp menu to insert into header string is indicated.
Date A date stamp is inserted. It is indicated as <DATE>
Time A time stamp is inserted. It is indicated as <TIME>
Page # A page number stamp inserted. It is indicated as <PAGE>
Total Page # Total page number stamp inserted. Indicated as <PMAX>
Document Name A document name stamp inserted. Indicated as <NAME>
Date Type The form of the date stamp is specified.
H.yy/mm/dd is an era of japan "HEISEI".
Date Format 1-3 is Control Panels "Date & Time" setting.
Time Type The form of the time stamp is specified.
Time Format 1-2 is Control Panels "Date & Time" setting.
Header Style Font, Size, Style, Color, Justify of the header is set up.
History The settlement of a header done before is memorized
as a personal history, and it can be used again.
And, the input of the line feed code is done.
3.6. Window Menu
Tile All windows are arranged not to pile up, it is indicated.
Shift key is pushed, it is arranged in a vertical one line.
Stack All windows are arranged to piled up, it is indicated.
Zoom Window of the extreme front is in the screen fullness.
Switch Window of the extreme front is changed to the next.
Shift key is pushed, it is changed to the previous window.
Window Name A document window is chosen, and active.
3.6.1. Toolbar
A toolbar makes a File, Edit, Find menu command a button.
It can be carried out by mouse clicking quickly.
A toolbar becomes lengthwise when it clicks on the triangle mark of the left.
Enabled command is shown message in black color.
4. Key Operation
Menu Key, Control Key, Allow Key is specified to editing operation.
Next, it is the key operation of the initialization that is explained.
Liked key operation can be set up by the customization.
4.1. Menu Key
Command key +
N A document window is made newly.
O A text document is opened with Open Dialog.
D Show Browser tool and preview a contents of document.
W A document window is closed.
S The contents of the document window is saved.
P The contents of the document window are printed.
Q Application is finished.
Z Undo / Redo does the last editing operation
Shift key + Z Editing operation is done again.
X A selection range is removed and sent to the clipboard.
C A selection range is sent to the clipboard.
V A selection range is moved with contents of the clipboard
A All the character of the document window are chosen.
[ Remove tab code of the line head and it shifts to the left.
] Insert tab code to the line head and it shifts to the right.
J Japanese 2 byte roman, 1 byte roman letters is changed.
K Japanese hiragana, japanese katakana letters is changed.
L A upper case, lower case of selection range is changed.
; The characters of the line is duplicated in the next line.
F Find/Replace Dialog is indicated.
G Search with the find string set up.
Shift key + G Search in the backward direction.
H Search with the selection range in the document.
Shift key + H Search in the backward direction.
E A selection range is set up as a find string.
= A selection range is replaced for the replace string.
R After replace is carried out, find next is carried out.
Shift key + R Search in the backward direction.
, Go to Line Dialog is indicated.
M Mark Dialog is indicated.
T Plain character style is set up.
B Bold character style is set up.
I Italic character style is set up.
U Underline character style is set up.
Y Document Dialog is indicated.
/ Window of the extreme front is in the screen fullness.
` Window of the extreme front is changed to the next.
Shift key + ` It is changed to the previous window.
1 - 9 A document window is chosen, and active.
4.2. Control Key
Control key +
S Cursor, to the one-character left.
D Cursor, to the one-character right.
A Cursor, to the left of 1 word.
F Cursor, to the right of 1 word.
E Cursor, to the one line up.
X Cursor, to the one line down.
R Cursor, to the one page up.
C Cursor, to the one page down.
W A one line scroll up.
Z A one line scroll down.
Q S Cursor, to the left of the line.
Q D Cursor, to the right of the line.
Q R Cursor, to the top of the lines.
Q C Cursor, to the bottom of the lines.
M A return code is inserted.
I A tab code is inserted.
H One character on left of the cursor position is removed.
G One character on right of the cursor position is removed.
J Left 1 word of the cursor position is removed.
T Right 1 word of the cursor position is removed.
U the cursor position to the line head is removed.
K the cursor position until the end of the line is removed.
Y One line is removed.
L Characters which a line was removed form is restored.
(It is simply paste)
4.3. Allow Key
Editing operation by the combination of Allow key and Option, Command key.
Option key+ Left Cursor, to the left of 1 word.
Option key+ Right Cursor, to the right of 1 word.
Command key+ Left Cursor, to the left of the line.
Command key+ Right Cursor, to the right of the line.
Option key+ Command key+ Left A one character scroll left.
Option key+ Command key+ Right A one character scroll right.
Option key+ Up A one line scroll up.
Option key+ Down A one line scroll down.
Command key+ Up Cursor, to the one page up.
Command key+ Down Cursor, to the one page down.
Option key+ Command key+ Up Cursor, to the top of the lines.
Option key+ Command key+ Down Cursor, to the bottom of the lines.
When a Shift key is pushed and operated, a string is chosen.
4.4. Other Key
Enter key A page feed code, a column feed code is inserted.
SPACE key Japanese Mac OS only function.
Japanese TSM-Inline re-convert input is carried out.
Preferences dialog "J-Convert" is set up.
Shift + Delete key One character on right of the cursor position is removed.
5. Regular Expression
A condition search by the Regular expression can be done is "Find/Replace" and "File Search". When Regular Expression is used, the text of the plural which corresponds to the pattern specified is collected, and it can be looked up. A certain specific character (Regular Expression Meta-character) is made to have special meaning to compose a pattern. And, a reference by Escape-sequence character which a '\' character was used for can be done.
[ Meta-character list ]
. Arbitrary one character (except for a line feed code)
[ ] Arbitrary one character in [ ] (range like a-z is effective)
[^ ] One character except in [ ] (range designation is effective)
^ Head of the line
$ End of the line (position of the line feed code is end of line)
\w Alphanumeric and _ Same as [0-9A-Za-z_]
\W Except for Alphanumeric and _ Same as [^0-9A-Za-z_]
\s Blank character Same as [ \n\r\f\t]
\S Except for Blank character Same as [^ \n\r\f\t]
\d Number character (0-9) Same as [0-9]
\D Except for Number character (0-9) Same as [^0-9]
\character Escape-sequence character
( ) Group
| Select
* Repetition of 0 time and more
+ Repetition of 1 time and more
? 0 time or 1 time
*? Repetition of 0 time and more (Shortest Matching)
+? Repetition of 1 time and more (Shortest Matching)
?? 0 time or 1 time (Shortest Matching)
[ Escape-sequence character list ]
\xhh 16 coded number
\xhhhh 16 coded japanese 2 byte number
\r Line feed character (Macintosh)(\x0d)
\n Line feed character (Unix)(\x0a)
\t Tab code character (\x09)
\b Backspace character(\x08)
\ooo 8 coded number
\cC Control character
\f Page feed character (\x0c)
\a Alarm (\x07)
\0 Null character (\x00)
\Meta-character Regular Expression Meta-character at .[]-^$()|*+?
By putting \, a normal character is considered.
(Example 1) The reference by make use of [ ]
[acdxg] o One character in a, c, d, g, x
[a-cjx-z] o One character in a, b, c, j, x, y, z
[a-zA-Z] o One character in alphabet character
[a-z] o One character in lower case alphabet character
When it wants to make search - and ], it is inputted by \-, \]
[0-9+\-] o One character in Number and +, -
[\][(){}] o One character in parenthesis character
Meta-character \w, \d, \s and so on can be used, too
[\dA-Z] o One character in number and upper case
[\w\s] o One character in Alphanumeric and blank
The reference by make use of [^ ]
[^a-zA-Z0-9] o One character Except for Alphanumeric
[^\][^] o One character Except for [, ^, ]
(Example 2) The reference by make use of plural Regular Expression
a[bc][def] o abd, abe, abf, acd, ace, acf
x abc, adb
(Example 3) The position reference by make use of ^, $
^Apple o The string of Apple of the line head
Macintosh$ o The string of Macintosh at the line end
(Example 4) The reference by make use of Group () and Select |
( | ) is used when it wants to express "or" in Regular Expression.
Power(Mac|Book) o PowerMac, PowerBook
(shift|option|command) key
o shift key, option key, command key
Apple|Macintosh o Apple, Macintosh
(Example 5) The reference repetition by make use of *, +, ?
a* o Blank, a, aa, aaa, aaaa, ....
a+ o a, aa, aaa, aaaa, ....
x Blank
a? o Blank, a
c[ad]+r o car, cdr, cadr, cdar, caar, cddr, ....
x cr
[0-9]+ o 0, 12, 365, 314, 5078, ....
The reference repetition by make use of Group () and Select |
au+ o au, auu, auuu, auuuu, ....
(au)+ o au, auau, auauau, auauauau, ....
(mac|win)+ o mac, win, macmac, macwin, winmacwin, ....
"?" is convenient for specifying the part where you may omit in pattern
[0-2]?\d:[0-5]\d([ap]m)?
o 1:30am, 23:59, 14:20pm, ...
You have (new )?mail\.
o You have mail., You have new mail.
(Example 6) The reference repetition (Shortest Matching)
When the string of "abXcdeXfgX" is looked up,
Usual repetition designation match up to the longest part.
.*X o Toward "abXcdeXfgX", match up to "abXcdeXfgX"
Shortest Matching repetition *?, *?, ?? match up to shortest part.
.*?X o Toward "abXcdeXfgX", match up to "abX"
(Example 7) The reference repetition (Shortest Matching)
When I want to look up the string that it is surrounded by "<<" and ">>"
with the string of "<<abc>> and <<def>>".
By the usual repetition designation, It doesn't match it properly.
<<.*>> x It match up to the whole "<<abc>> and <<def>>"
By the shortest matching repetition, It matches it properly.
<<.*?>> o It match up to "<<abc>>" or "<<def>>"
6. Before use of this software
The copyright of the software (the following "this software" that it is attached to this assent document) belong to the author.
Without author's permission, A part or all of this software can't be changed.
An author doesn't assume all responsibility against any damage which arose by the use of this software.
As for the payment of Shareware price, the future support, question, complaint doesn't assure all. And, after Shareware price payment. Registration right can't be transferred, and, it can't be rented.
It isn't assured that there is no problem, no error in this software.
Distributing the thing that modification was added to contents of file composition of this software and so on is prohibited.
1999.02.11
(Author): Michiaki Yamashita
(Zip code): 112-0012
(Address): 702, Otsuka 3-9-6, Bunkyo-ku, Tokyo, Japan